<?php
header("Content-Type:application/json;charset:utf-8");
header("Access-Control-Allow-Origin:*");

if (isset($_GET["utel"])){
    $UTEL = $_GET["utel"];
    $host = "127.0.0.1";
    $name="root";
    $pwd ="Chenzhou725925";
    $db="maikaolin";
    $port="3306";
    $conn = new mysqli($host,$name,$pwd,$db,$port);
    mysqli_query($conn,"set names utf8");
    $sql="SELECT*FROM userinfo WHERE utel='" . $UTEL . "'";
    $result = $conn->query($sql);
    if ($result->num_rows >= 1){
        print_r("false");
    }else{
        print_r("true");
    }
    $conn->close();
}